package com.suse.lhw.hms.exersiseserver.service;

import com.suse.lhw.hms.exersiseserver.domin.EModelsOfPackage;
import com.suse.lhw.hms.exersiseserver.domin.EPackage;
import com.suse.lhw.hms.exersiseserver.domin.EPackageToSingleMm;
import com.suse.lhw.hms.exersiseserver.pojo.out.PackageAndModels;

import java.util.List;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.hms.exersiseserver.service
 * @ClassName: EPackageService
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/5/3 13:58
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/5/3 13:58
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public interface EPackageService {


    int deleteByPrimaryKey(Integer id);

    int insert(EPackage record);

    int insertSelective(EPackage record);

    EPackage selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(EPackage record);

    int updateByPrimaryKey(EPackage record);

    int insertAPackageAndModels(EPackage ePackage, List<EModelsOfPackage> list);

    List<PackageAndModels> selectAllPackageByStatus(int defaultt);

    int deleteAllById(int id);

    PackageAndModels selectAPackageById(int id);

    List<PackageAndModels> selectCollectedBYUseridType(String userId, int package1);

    List<PackageAndModels> selectCollectedBYUseridTypeName(String userId, int unupload, String s);
}




